<?php
declare (strict_types=1);

use think\facade\Route;

/**
 * 后端管理接口
 */
Route::group('admin/comment/', function () {
    Route::group('<id>', function () {
        // 删除
        Route::delete('delete', '@delete');
    })->pattern(['id' => '\d+']);
})->prefix(\app\circle\service\admin\Comment::class)->middleware(['adminRoute']);